package com.leo.ssh2.framework.aspectj.pointcut;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class Log4JPointcut {

	@Pointcut("execution(public * insert(..))")
	public void forInsert() {
	}
	
	@Before("forInsert()")
	public void beforeInserting() {
		System.out.println("Inserting?");
	}
}
